package com.csxy.lsh.api;

import com.csxy.lsh.R;
import com.csxy.lsh.api.impl.UcenterClientImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "service-ucenter",fallback = UcenterClientImpl.class)
public interface UcenterClient {

    @GetMapping("/serviceUcenter/ucenter/countRegister/{day}")
    public R countRegister(@PathVariable("day") String day);
}
